package com.dbq.fast.business.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yuanchen on 2018/6/1.
 */

public class HangQingInfo implements Serializable {


    /**
     * trans_pair_markets : [{"current_price":"7531.50","fluctuation_ratio":"0.18","trans_pair_desc":"BTC/USDT"},{"current_price":"572.50","fluctuation_ratio":"0.15","trans_pair_desc":"ETH/USDT"},{"current_price":"6.30","fluctuation_ratio":"0.0","trans_pair_desc":"WFEE/USDT"}]
     * response_code : SUCCESS
     * response_message : 操作成功
     * response_time : 20180601124506
     */

    private String response_code;
    private String response_message;
    private long response_time;
    private List<TransPairMarketsBean> trans_pair_markets;

    public String getResponse_code() {
        return response_code;
    }

    public void setResponse_code(String response_code) {
        this.response_code = response_code;
    }

    public String getResponse_message() {
        return response_message;
    }

    public void setResponse_message(String response_message) {
        this.response_message = response_message;
    }

    public long getResponse_time() {
        return response_time;
    }

    public void setResponse_time(long response_time) {
        this.response_time = response_time;
    }

    public List<TransPairMarketsBean> getTrans_pair_markets() {
        return trans_pair_markets;
    }

    public void setTrans_pair_markets(List<TransPairMarketsBean> trans_pair_markets) {
        this.trans_pair_markets = trans_pair_markets;
    }

    public static class TransPairMarketsBean implements Serializable{
        /**
         * current_price : 7531.50
         * fluctuation_ratio : 0.18
         * trans_pair_desc : BTC/USDT
         */

        private String current_price;
        private String fluctuation_ratio;
        private String trans_pair_desc;
        private int up_or_down; //-1 表示跌 0表示不涨不跌 1表示涨。

        public String getCurrent_price() {
            return current_price;
        }

        public void setCurrent_price(String current_price) {
            this.current_price = current_price;
        }

        public String getFluctuation_ratio() {
            return fluctuation_ratio;
        }

        public void setFluctuation_ratio(String fluctuation_ratio) {
            this.fluctuation_ratio = fluctuation_ratio;
        }

        public String getTrans_pair_desc() {
            return trans_pair_desc;
        }

        public void setTrans_pair_desc(String trans_pair_desc) {
            this.trans_pair_desc = trans_pair_desc;
        }

        public int getUp_or_down() {
            return up_or_down;
        }

        public void setUp_or_down(int up_or_down) {
            this.up_or_down = up_or_down;
        }
    }
}
